﻿using System;

namespace Com.Pernix.Common.Linq
{
    public static class EventHandlerExt
    {
        public static void Raise(this EventHandler eventToThrow, object sender, EventArgs args)
        {
            if(eventToThrow!=null)
            {
                eventToThrow(sender, args);
            }
        }
    }
}
